<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>发布主题</title>   
        <!-- Bootstrap -->
        <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
        <!--你自己的样式文件 -->
        <script src="bootstrap/js/jquery-2.2.0.min.js"></script>
        <style type="text/css">
            .header{
                background: #0D1024;
                color: #B5B5B5;
            }
            .header a{
                color: #B5B5B5;
                margin: 4px;
                display: inline-block;
                text-decoration: none;
            }
        </style>
        <script type="text/javascript">
            function img_to_file(){
                document.getElementById("file_upload").click();
            }
            
        </script>
    </head>
    <body>
        <form method="post" enctype="multipart/form-data">
        <div class="header">
            <a  href="javascript:history.go(-1);"><span class="glyphicon glyphicon-menu-left"></span></a>
            发布主题
            <a  style="float: right;" >发帖</a>
        </div>
        <div class="content">
            <input type="text" style="" class="form-control" placeholder="标题（必填）" />
            <textarea class="form-control" rows="4"></textarea>
        </div>
        <div class="footer">
            <button style="float: right;border: 0px" type="button" class="btn btn-lg btn-default" aria-label="Left Align" onclick="img_to_file()">
              <span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
            </button>
            <input type="file" name="my_file[]" id="file_upload" style="display: none;" multiple/> 
        </div>
    <script src="bootstrap/js/bootstrap.min.js"></script>    
    </body>
</html>
